package com.cj.mobile.iabp.mvp.model.entity;

/**
 * 入库单-智能称重-过磅重量
 */
public class FloorScaleWeighing {
    public FloorScaleWeighing() {
    }

    public FloorScaleWeighing(String uuId, double weight, double rearWeight, double difference, double price, String catId, String catName, double totalPrice) {
        this.uuId = uuId;
        this.weight = weight;
        this.rearWeight = rearWeight;
        this.difference = difference;
        this.price = price;
        this.catId = catId;
        this.catName = catName;
        this.totalPrice = totalPrice;
    }

    /**
     * frontWeight : 1000
     * rearWeight : 800
     * difference : 200
     * price : 8.5
     * catId : 2
     * catName : 干电
     * totalAmount : 8500
     */

    /*----------------------------------------------------API接口----------------------------------------------------*/
    // 唯一编码
    private String uuId;
    // 前重量
    private double weight;
    // 后重量
    private double rearWeight;
    // 差值(前重量-后重量)
    private double difference;
    // 单价
    private double price;
    // 品类Id
    private String catId;
    // 品类名称
    private String catName;
    // 总额(差值*单价)
    private double totalPrice;
    // 产品id
    private String commId;
    // 用户类别
    private String userCategory;

    public String getCommId() {
        return commId;
    }

    public void setCommId(String commId) {
        this.commId = commId;
    }

    public String getUserCategory() {
        return userCategory;
    }

    public void setUserCategory(String userCategory) {
        this.userCategory = userCategory;
    }

    public String getUuId() {
        return uuId;
    }

    public void setUuId(String uuId) {
        this.uuId = uuId;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public double getRearWeight() {
        return rearWeight;
    }

    public void setRearWeight(double rearWeight) {
        this.rearWeight = rearWeight;
    }

    public double getDifference() {
        return difference;
    }

    public void setDifference(double difference) {
        this.difference = difference;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getCatId() {
        return catId;
    }

    public void setCatId(String catId) {
        this.catId = catId;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }
}
